package com.lvmama.core.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UserTravel implements Serializable {
    /**
     * 用户行程id
     */
    private Integer userTravelId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 微信id（唯一标识）
     */
    private Integer openId;

    /**
     * 他人行程id
     */
    private Integer travelId;

    /**
     * 行程名称
     */
    private String title;

    /**
     * 目的地id（外键）
     */
    private Integer destId;

    /**
     *  状态 1有效，0无效
     */
    private Boolean status;

    /**
     * 行程天数
     */
    private Integer travelDays;

    /**
     * 建议花费
     */
    private BigDecimal cost;

    /**
     * 图片地址
     */
    private String imgUrl;

    /**
     * 排序
     */
    private Integer seq;

    /**
     * 主题标签包含亲子、情侣
     */
    private String hashtag;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date modifyTime;

    /**
     * 描述
     */
    private String memo;

    private static final long serialVersionUID = 1L;

    public Integer getUserTravelId() {
        return userTravelId;
    }

    public void setUserTravelId(Integer userTravelId) {
        this.userTravelId = userTravelId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOpenId() {
        return openId;
    }

    public void setOpenId(Integer openId) {
        this.openId = openId;
    }

    public Integer getTravelId() {
        return travelId;
    }

    public void setTravelId(Integer travelId) {
        this.travelId = travelId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getDestId() {
        return destId;
    }

    public void setDestId(Integer destId) {
        this.destId = destId;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Integer getTravelDays() {
        return travelDays;
    }

    public void setTravelDays(Integer travelDays) {
        this.travelDays = travelDays;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getHashtag() {
        return hashtag;
    }

    public void setHashtag(String hashtag) {
        this.hashtag = hashtag == null ? null : hashtag.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userTravelId=").append(userTravelId);
        sb.append(", userId=").append(userId);
        sb.append(", openId=").append(openId);
        sb.append(", travelId=").append(travelId);
        sb.append(", title=").append(title);
        sb.append(", destId=").append(destId);
        sb.append(", status=").append(status);
        sb.append(", travelDays=").append(travelDays);
        sb.append(", cost=").append(cost);
        sb.append(", imgUrl=").append(imgUrl);
        sb.append(", seq=").append(seq);
        sb.append(", hashtag=").append(hashtag);
        sb.append(", createTime=").append(createTime);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", memo=").append(memo);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}